(function (global, a) {
  global.b = {
    calculate: function () {
      return a.add(1, 2);
    },
  };
})(window, window.a);
